package xyz.heyaoshare.core.controller.auth.vo.req;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

import static io.swagger.v3.oas.annotations.media.Schema.RequiredMode.REQUIRED;

/**
 * 校验验证码请求对象
 * @author YueHe
 * @version 0.0.1
 * @since 2025/6/25 下午2:38
 */
@Data
@Schema(description = "校验验证码请求对象")
public class ValidateCaptchaReqVO implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    @NotBlank(message = "唯一标识不能为空")
    @Schema(description = "唯一标识", requiredMode = REQUIRED)
    private String key;

    @NotBlank(message = "验证码不能为空")
    @Schema(description = "验证码", requiredMode = REQUIRED)
    private String userCode;

}